package com.lwj.model.configuration;

import com.lwj.model.AuditModel;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * department_role_menu
 * @author
 */
public class DepartmentRoleMenu extends AuditModel implements Serializable {
    /**
     * 中间表主键id
     */
    @Id
    private String departmentRoleMenuId;

    /**
     * 部门角色id
     */
    private String departmentRoleId;

    /**
     * 菜单id
     */
    private String menuId;

    /**
     * 本级:1表示拥有权限/0表示否/2表示固定权限
     */
    private String currentLevel;

    /**
     * 下级:1表示拥有权限/0表示否
     */
    private String nextLevel;

    public DepartmentRoleMenu(String departmentRoleMenuId, String departmentRoleId, String menuId, String currentLevel, String nextLevel) {
        this.departmentRoleMenuId = departmentRoleMenuId;
        this.departmentRoleId = departmentRoleId;
        this.menuId = menuId;
        this.currentLevel = currentLevel;
        this.nextLevel = nextLevel;
    }

    public DepartmentRoleMenu() {
    }

    private static final long serialVersionUID = 1L;

    public String getDepartmentRoleMenuId() {
        return departmentRoleMenuId;
    }

    public void setDepartmentRoleMenuId(String departmentRoleMenuId) {
        this.departmentRoleMenuId = departmentRoleMenuId;
    }

    public String getDepartmentRoleId() {
        return departmentRoleId;
    }

    public void setDepartmentRoleId(String departmentRoleId) {
        this.departmentRoleId = departmentRoleId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getCurrentLevel() {
        return currentLevel;
    }

    public void setCurrentLevel(String currentLevel) {
        this.currentLevel = currentLevel;
    }

    public String getNextLevel() {
        return nextLevel;
    }

    public void setNextLevel(String nextLevel) {
        this.nextLevel = nextLevel;
    }


}
